/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.kleintjes.question3.plk.violates.conf;

import ac.za.cput.kleintjes.question3.plk.violates.services.IStudent;
import ac.za.cput.kleintjes.question3.plk.violates.services.impl.AddStudentImpl;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

/**
 *
 * @author Hughan.Kleintjes.hughanK@gmail.com
 */
@Configurable
public class StudentConfig {
    @Bean(name = "student")
    public IStudent student() 
    {
        return new AddStudentImpl();
    }
    
}
